package cn.bone.auth.security.mapper;

import cn.bone.auth.security.bean.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleMapper extends BaseMapper<SysRole>{

    /*根据用户名查找角色*/
    List<SysRole> listByUsername(@Param("username") String username);
}
